package io.renren.modules.bus.vo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 消费记录
 * @Author lililiang
 * @Date 2019-02-23 15:07:23
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("消费记录实体")
@TableName("tb_cost_record")
public class CostRecordVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("id")
	@TableId
	private Integer id;
	@ApiModelProperty("物品编码")
	private String goodsCode;
	@ApiModelProperty("物品名称")
	private String goodsName;
	@ApiModelProperty("会员Id")
	private Integer memberId;
	@ApiModelProperty("原价")
	private BigDecimal originalPrice;
	@ApiModelProperty("折扣比例")
	private Integer discount;
	@ApiModelProperty("使用积分")
	private Integer usePoint;
	@ApiModelProperty("积分兑换金额")
	private BigDecimal pointMoney;
	@ApiModelProperty("实付价")
	private BigDecimal actuallyPaid;
	@ApiModelProperty("实付价_前")
	private BigDecimal actuallyPaid_Q;
	@ApiModelProperty("付款方式")
	private String payment;
	@ApiModelProperty("变化积分")
	private Integer changePoint;
	@ApiModelProperty("变化积分_前")
	private Integer changePoint_Q;
	@ApiModelProperty("当前积分（本次消费后的当前积分）")
	private Integer currentPoint;
	@ApiModelProperty("累计消费金额")
	private BigDecimal monetary;
	@ApiModelProperty("店铺Id")
	private Integer storeId;
	@ApiModelProperty("备注")
	private String remark;
	@ApiModelProperty("创建人")
	private Integer author;
	@ApiModelProperty("创建时间")
	private Date createTime;
	@ApiModelProperty("状态，1有效，0无效，-1删除")
	private Integer status;
	@ApiModelProperty("会员名称")
	private String memberName;
	@ApiModelProperty("会员手机号")
	private String mobile;
	@ApiModelProperty("创建人名称")
	private String authorName;
	@ApiModelProperty("店铺名称")
	private String storeName;



}
